package com.zide.link.domain.po;

import io.swagger.v3.oas.annotations.media.Schema;
import com.zide.common.core.domain.BaseEntity;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;


/**
 * 外链网站对象 link_web
 * 
 * @author zide
 * @date 2024-05-10
 */
@TableName("link_web")
@Data
@Schema(name = "外链网站对象 link_web")
public class LinkWeb extends BaseEntity{
    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
     @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "链接标题")
    private String title;

    @Schema(description = "跳转地址")
    private String href;

    @Schema(description = "图标")
    private String img;

    @Schema(description = "简介")
    private String summary;

    @Schema(description = "类型")
    private Long type;

    @Schema(description = "部门状态（0正常 1停用）")
    private Long status;

    @Schema(description = "删除标志（0代表存在 2代表删除）")
    @TableLogic
    private Long deleted;

    @Schema(description = "创建者")
    private String creator;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新者")
    private String updater;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "备注")
    private String remark;

}
